Install VNC Server
2010/11/08 |
[1] | Install VNC Server to operate Fedora with GUI remotely from Windows client. |
[root@dlp ~]# yum -y install tigervnc-server [root@dlp ~]# su - fedora # switch to a user you'd like to config VNC [fedora@dlp ~]$ vncpasswd # set VNC password Password: # input Verify: # verify [fedora@dlp ~]$ vncserver :1 # start xauth: (stdin):1: bad display name "dlp.srv.world:1" in "add" command New 'dlp.srv.world:1 (fedora)' desktop is dlp.srv.world:1 Creating default startup script /home/fedora/.vnc/xstartup Starting applications specified in /home/fedora/.vnc/xstartup Log file is /home/fedora/.vnc/dlp.srv.world:1.log [fedora@dlp ~]$ vncserver -kill :1 # stop Killing Xvnc process ID 9894 [fedora@dlp ~]$ vi /home/fedora/.vnc/xstartup # twm & # last line: make it comment
exec gnome-session & # run Ghome # run with diplay number '1', screen resolution '800x600', color depth '24' [fedora@dlp ~]$ vncserver :1 -geometry 800x600 -depth 24 |
[2] | Install VNC viewer on client computer next. Download from the site below to install. http://www.realvnc.com/products/free/4.1/download.html Start VNC viewer after installing. Then following scrren is shown. Input [(Server's hostname or IP address):(display number)] like following example. |
[3] | Password is required. Input VNC password you set in the section [1]. |
[4] | Just connected. |